package com.zhentao.controller;

import com.zhentao.dto.SkDto;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * @Date 2024/4/9 15:52
 * @Author xdm
 **/
@RestController
@RequestMapping("/skAlarm")
public class SkAlarmController {

    @RequestMapping("/getMsg")
    public void getMsg(@RequestBody  List<SkDto> skDtos){
        System.out.println("接收消息，然后进行处理-发送短信，发送邮件");
        System.out.println(skDtos);
    }
}
